package com.sxpi.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "likes")
@Slf4j
public class Likes {
    @TableId
    private Long id; // 点赞ID
    private Long userId; // 用户ID
    private Long workId; // 作品ID
    private Long costumesId; // 想拍ID
    private LocalDateTime createdTime; // 创建时间
//    private String createdBy; // 创建
//    private LocalDateTime updatedTime; // 创建时间
//    private String updatedBy; // 创建
} 